home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 4,401 to 4,500
/
aol-file-protocol-4400-4401-to-4500.zip
/
AOLDLs
/
PDA-Newton Development
/
ND Date & Time Editors
/
date.sit
/
README.dateEditors
< prev
next >
Wrap
Text File
|
1994-09-27
|
3KB
|
101 lines
Date & Time Editors
-------------------
Description:
-----------
These protos are for use with date and time data entry. There are two
floating view protos. One is for date only entry and the other is for
date and time entry. Both of these protos are based on a third proto
which is used to control the calendar.
The other protos included I pulled from on of my programs so that you
can see how to interface with the date/time picker proto. Actually,
I changed the date and time protos to use my protos so that I could
have floating date editors and the buttons are sized correctly.
Date Editor protos
------------------
protoDateEditorInputLine - popups open the date editor when the label is
tapped. Does most everything for you. You will need to set "Date" in the
viewSetupFormScript to the intenal date to show. Assumes that you have the
protoDatePickerPicker or the protoDateTimePicker named "dateTimePicker".
protoDatePicker - (internally used for next 2 protos)
protoDatePickerPicker - displays the calendar with the a "Set" and
"Today" button.
Messages that you send to view:
:OpenMe() message to open floater.
// params are:
// the view that gets the PickedDate message,
// the default date to show, and
// the title for the date picker view
:Update() message to update floater
// params are:
// the new view that gets the PickedDate message,
// the new date to show, and
// the new title for the date picker view
Messages sent from view:
:PickedDate() - send you what date the user had selected when
"Set" was tapped.
// params are:
// the date in Newton internal format
protoDateTimePicker - displays the calendar and a clock with the a "Set"
and "Today/Now" button.
Messages that you send to view:
SAME AS FOR protoDatePickerPicker
Messages that you receive from view:
SAME AS FOR protoDatePickerPicker
protoAdjustoButton - from the proto section of the PIE samples. Makes
your buttons comply with the user interface guidelines for size and spacing.
protoFloatDragNGo - a protoFloatNGo with the ability to be dragged if
the tap is within 10 pixels of the edge. It sets a bunch of things. It is
a center horizontal/vertical justified floater with a matte boarder that
is clickable.
Info:
----
⌐ 1994 Atomic Software. All rights reserved.
Free to distribute and use in your apps! Just let me know you are using
it and if you enhance it.
Thanks
Allan Marcus
CIS: 76666,2113
AppleLink: allan.marcus
eWorld/NewtonMail: allan.m
InterNet: allan@apple.com
More Info:
----------
I uploaded the protoDateTimePicker, protoDatePicker, and
protoDatePickerPicker with some modifications that I have made to them, but
Allan deserves all the credit for creating them and making them available for
me to make available for you.
I'm uploading the protoAdjustoButton so that you don't need to go looking
thru the samples to find it.
I'm uploading 2 of my own protos protoLabelDateEditorInputLine and
protoFloatDragNGo. These are ⌐ 1994 Hardy Macia. All rights reserved.
I am:
Hardy Macia
P.O.Box 8276
Essex VT 05451
HardyMacia@eWorld.com
If you have questions about something you can email me (Hardy).